<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <!-- import CSS -->
    <link rel="stylesheet" href="https://cdn.staticfile.org/element-ui/2.15.9/theme-chalk/index.css">
  <title>提交订单</title>
  <style>
    .el-form-item__label{
      height: 60px;
    }
    a{
      font-size: 20px;
      text-decoration: none;
      color: black;
    }
  </style>
</head>
<body>
<div id="app">
  <el-container>
    <el-header height="150px">
      <div style="width:1080px;margin: 0 auto;">

        <img src="imgs/logo.png" style="width: 400px;height:100px;vertical-align: middle" alt="">
        <div style="float: right;font-size: 15px;position: relative;top: 0;right: 0"><span >欢迎xxx回来 </span></div>
        <div style="float: right;padding-right: 10px;position: relative;top:20px;right: 0px">
          <a href="">购物车</a><el-divider direction="vertical"></el-divider>
          <a href="">我的账户</a><el-divider direction="vertical"></el-divider>
          <a href="">新用户注册</a><el-divider direction="vertical"></el-divider>
          <a href="">我要登录</a><el-divider direction="vertical"></el-divider>
          <a href="">帮助中心</a></el-divider>
        </div>
        <div style="background-color: #f6f205;">
          <el-menu style="background-color: #f3f0b5;width: 1050px"
                   :default-active="activeIndex" class="el-menu-demo" mode="horizontal" @select="handleSelect">
            <el-menu-item index="1">处理中心</el-menu-item>
            <el-menu-item index="2">处理中心</el-menu-item>
            <el-menu-item index="3">处理中心</el-menu-item>
            <div style="float: right;position: relative;top: 10px">
              <el-input placeholder="请输入搜索内容" >
                <el-button slot="append" icon="el-icon-search" @click="search()"></el-button>
              </el-input>
            </div>
          </el-menu>
        </div>
      </div>
    </el-header>
    <el-main>

      <el-card class="box-card" style="width: 1080px;margin: 0 auto">
        <div style="width:1080px;margin: 0 auto;">
          <img src="">
          <p>你好,XX,欢迎来到星光书城结算中心</p>
          <div>
            <template>
              <el-table
                      :data="tableData"
                      style="width: 1080px">
                <el-table-column
                        prop="index"
                        label="序号"
                        width="180">
                </el-table-column>
                <el-table-column
                        prop="name"
                        label="姓名"
                        width="180">
                </el-table-column>
                <el-table-column
                        prop="price"
                        label="价格">
                </el-table-column>

                <el-table-column
                        prop="num"
                        label="数量">
                </el-table-column>
                <el-table-column
                        prop="money"
                        label="小计">
                </el-table-column>
              </el-table>
            </template>
          </div>
          <div>
            <p style="position: absolute;left: 960px;">合计:xx元</p>
          </div>
          <div>
            <el-form label-width="90px" style="width: 400px;margin: 20px auto;float: left;">
              <el-form-item label="收货人:" style="height: 40px">
                <el-input type="text" placeholder="请输入收货人" v-model="username"></el-input>
              </el-form-item>
              <el-form-item label="收货地址:" style="height: 40px">
                <el-input type="text" placeholder="请输入收货地址" v-model="adress"></el-input>
              </el-form-item>
              <el-form-item label="收货人电话:">
                <el-input type="text" placeholder="请输入收货人电话" v-model="phone"></el-input>
              </el-form-item>
            </el-form>
            <el-button type="primary" style="float: right;margin-top: 10px;margin-right: 40px">提交订单</el-button>
          </div>
        </div>
      </el-card>


    </el-main>
    <el-footer></el-footer>
  </el-container>
</div>
</body>
<!-- import Vue before Element -->
<script src="https://cdn.staticfile.org/vue/2.6.14/vue.min.js"></script>
<!-- import JavaScript -->
<script src="https://cdn.staticfile.org/element-ui/2.15.9/index.min.js"></script>
<!-- import axios -->
<script src="https://cdn.bootcdn.net/ajax/libs/axios/0.21.1/axios.min.js"></script>
<script>
   let v = new Vue({
        el: '#app',
        data: function() {
            return {
              username:"",
              adress:"",
              phone:"",
              activeIndex: '1',
              tableData: [{
                index: '1',
                name: 'java',
                price: '44.5',
                num:'1',
                money:"44.5"
              }, {
                index: '2',
                name: 'java',
                price: '44.5',
                num:'1',
                money:"44.5"
              }, {
                index: '3',
                name: 'java',
                price: '44.5',
                num:'1',
                money:"44.5"
              }, {
                index: '4',
                name: 'java',
                price: '44.5',
                num:'1',
                money:"44.5"
              }]
            }
        },
       methods:{
         handleSelect(){

         }
       }
    })
</script>
</html>